package com.example.b_308.myapplication.view.main.address;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.LinearLayout;

import com.example.b_308.myapplication.R;
import com.example.b_308.myapplication.comment.utils.Global;
import com.example.b_308.myapplication.view.base.BaseActivity;
import com.example.b_308.myapplication.view.main.address.search.CustomersActivity;
import com.example.b_308.myapplication.view.main.address.search.NewCustomersActivity;

/**
 * Created by B-308 on 2017/12/6.
 */
public class ClientActivity extends BaseActivity {

    LinearLayout ll_customer_detail;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_client);
        getTitleBar().setTitle(Global.getString(R.string.client));
        getTitleBar().getTv_setting().setVisibility(View.GONE);
        getTitleBar().getTv_return().setVisibility(View.GONE);
        getTitleBar().getIv_setting().setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                tend2(NewCustomersActivity.class);
            }
        });

        ll_customer_detail = findView(R.id.ll_customer_detail);
        ll_customer_detail.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                tend2(CustomersActivity.class);
            }
        });
    }
}
